package com.wisemoresystem.seal.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.ne.framework.data.model.DbModel;

/**
 * 印章预警表
 * 
 * @author hxj
 */
@Entity
public class t_early_warning implements DbModel {

	@Transient
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "my_generator")
	@GenericGenerator(name = "my_generator", strategy = "uuid")
	@Column(length = 32)
	private String _id;

	private String seal_id;// 印章id
	private String push_id;// 下发表id

	private String push_bank_id;
	private Timestamp push_time;// 下发时间
	private Timestamp recieve_time;// 接收时间
	private String recieve_bank_id;

	private String reason;// 原因

	private String user_id;// 录入人员

	private int status;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	//============== set/get()  =================
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getSeal_id() {
		return seal_id;
	}

	public void setSeal_id(String seal_id) {
		this.seal_id = seal_id;
	}

	public String getPush_id() {
		return push_id;
	}

	public void setPush_id(String push_id) {
		this.push_id = push_id;
	}

	public Timestamp getPush_time() {
		return push_time;
	}

	public void setPush_time(Timestamp push_time) {
		this.push_time = push_time;
	}

	public Timestamp getRecieve_time() {
		return recieve_time;
	}

	public void setRecieve_time(Timestamp recieve_time) {
		this.recieve_time = recieve_time;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getPush_bank_id() {
		return push_bank_id;
	}

	public void setPush_bank_id(String push_bank_id) {
		this.push_bank_id = push_bank_id;
	}

	public String getRecieve_bank_id() {
		return recieve_bank_id;
	}

	public void setRecieve_bank_id(String recieve_bank_id) {
		this.recieve_bank_id = recieve_bank_id;
	}

}
